ScxV6Area.Name Method

Gets or sets the name of the Area of Interest

Parameters

Remarks

The operation may fail if:

Example:

The following example written in VB.NET shows the Name property being used change the name of an area of interest.

Dim Svr As ScxV6DbClient.ScxV6Server

Dim Areas As ScxV6DbClient.ScxV6Areas

' Connect to the server

Svr = New ScxV6DbClient.ScxV6Server()

Svr.Connect("MAIN", "", "")

' Find the area of interest we want to change the name of

Areas = Svr.RootArea.List

For Each Area As ScxV6DbClient.ScxV6Area In Areas

If Area.Name = "Area 1" Then

Area.Name = "Area 2"

Exit For

End If

Next

' Disconnect

Svr.Disconnect()


Disclaimer

ClearSCADA 2017 R3